#include <stdio.h>
int main(int argc,const char*argv[])
{
	if(argc!=3){printf("文件源缺失\n");return -1;};
	FILE *p1=NULL,*p2=NULL;
	if((p1=fopen(argv[1],"r"))==NULL || (p2=fopen(argv[2],"w"))==NULL){perror("打开文件失败：");return -1;}
	size_t ret;
	char n[5]="";
	while((ret=fread(n,1,5,p1))>0)
	{
		fwrite(n,1,ret,p2);
		printf("%s",n);
	}
	fclose(p1);
	fclose(p2);
	return 0;
}
